<div class="PaperShelf-form">

  <%= error_messages_for 'user' %>
   
  <fieldset>
     <% form_for :user do |form| %>
    <legend>Change Admin Password</legend>

      <p>
        <label for="password">*OldPass:</label>
        <%= form.password_field :password, :size => 40 %>
      </p>

      <p>
        <label for="new password">*NewPass:</label>
        <%= form.password_field :newpassword, :size => 40 %>
      </p>
      <p>
        <label for="new password confirm">*NewPassConfirm:</label>
        <%= form.password_field :newpassword_confirmation, :size => 40 %>
      </p>


      <%= submit_tag "Change Password", :class => "submit" %>
       <% end %>  
     </fieldset>
 
</div>
